import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 配置axios
import axios from 'axios'
axios.defaults.baseURL = "http://localhost:3000"  //全局基础路径前缀
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)


import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)

import moment from "moment";
Vue.prototype.moment = moment

// import Vant from 'vant'
// import 'vant/lib/index.css'
// Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
